import request from '@/utils/request';

/**
 * 根据房间ID获取锁列表
 * @param {string} homeId - 房间ID
 * @returns {Promise} - 返回锁列表数据
 */
export const getLockListByHomeId = (homeId) => {
	return request({
		url: `/lock/device/listByHomeId/${homeId}`,
		method: 'GET'
	});
}; 